package cn.dansj.bean;

import cn.dansj.enums.GlobalEnv;

import java.io.Serial;
import java.io.Serializable;

/*
 * 企业微信请求token的返回对象
 * */
public class WeComToken implements Serializable {
    @Serial
    private static final long serialVersionUID = GlobalEnv.SerialVersionUID;
    private int errCode;
    private String errMsg;
    private String accessToken;
    private int expiresIn;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public String getAccess_token() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public int getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(int expiresIn) {
        this.expiresIn = expiresIn;
    }
}
